package com.ruoyi.ruoyiqywechat.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.qy.domain.User;
import com.ruoyi.common.qy.request.RegisterThirdUserRequest;
import com.ruoyi.common.qy.request.WxBindingPhoneRequest;
import com.ruoyi.common.qy.response.LoginResponse;

import java.math.BigDecimal;
import java.util.List;

/**
 * 用户中心 服务类
 *  +----------------------------------------------------------------------
 *  | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
 *  +----------------------------------------------------------------------
 *  | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
 *  +----------------------------------------------------------------------
 *  | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
 *  +----------------------------------------------------------------------
 *  | Author: CRMEB Team <admin@crmeb.com>
 *  +----------------------------------------------------------------------
 */
public interface UserCenterService extends IService<User> {
    /**
     * 微信登录小程序授权登录
     * @param code code
     * @param request 用户参数
     * @return LoginResponse
     */
    LoginResponse weChatAuthorizeProgramLogin(String code, RegisterThirdUserRequest request);

    LoginResponse registerBindingPhone(WxBindingPhoneRequest request);
     User registerByThird(RegisterThirdUserRequest thirdUserRequest);
    /**
     * 通过微信code登录
     */
    LoginResponse weChatAuthorizeLogin(String code,String sendUserId);

}
